﻿
namespace SKS
{
    public interface IApplicationToken 
    {
        /// <summary>
        /// 标识ID
        /// </summary>
        int TokenClass { get; set; }

        /// <summary>
        /// 令牌放上
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e">令牌</param>
        void OnTokenPlacedOnScreen(object sender, ApplicationTokenEventArgs e);
        /// <summary>
        /// 更新令牌
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e">令牌</param>
        void OnTokenRemovedFromScreen(object sender, ApplicationTokenEventArgs e);

        /// <summary>
        /// 令牌移除
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e">令牌</param>
        void OnTokenUpdated(object sender, ApplicationTokenEventArgs e);
    } 
}

